package com.example.demo.properties;



import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 6  * @author ChengJianSheng
 7  * @date 2019-05-26
 8  */
@Data
@ToString
@NoArgsConstructor
@SuppressWarnings("all")
@ConfigurationProperties("my.hello")
public class HelloProperties {

    /**
     * 姓名
     */
    private String name;

    private Integer age;

    private String hometown;

}